package cloud.daodao.storm.common.dict.model.codemap;

import cloud.daodao.storm.common.serialize.Serializer;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.Max;
import jakarta.validation.constraints.Min;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

/**
 * 请求参数
 *
 * @author DaoDao
 */
@Schema(title = "CodeMapSelect", description = "代码映射查询")
@Data
public class CodeMapSelect implements Serializer {

    @Schema(title = "ID", description = "ID", example = "1")
    @NotNull
    @Min(value = 1)
    @Max(value = Long.MAX_VALUE)
    private Long id;

}
